package com.testing.class12;

/**
 * @Classname Dog
 * @Description 类型说明
 * @Date 2020/12/17 20:40
 * @Created by 特斯汀Roy
 */
public class Dog {

    private  String name;

    public Dog(String name){
        this.name =name;
    }

    public void bark(){
        System.out.println(name+"汪汪叫");
    }

}
